export default {
  tree_nc_partner: {
    _odoo_model: 'ir.ui.view',
    model: 'fp.nc.ods.customer',
    type: 'tree',
    buttons: { create: false, edit: false, delete: false },

    fields: {
      name: {},
      code: {},
      name2: {},
      // code2: {},
      tin: {}
      // parent_id: {},
      // company_id: {}
      // street2: {}
      // bank_ids: {}
    }
  },

  form_nc_partner: {
    _odoo_model: 'ir.ui.view',
    model: 'fp.nc.ods.customer',
    type: 'form',
    buttons: { create: false, edit: false, delete: false },

    fields: {
      name: {},
      code: {},
      name2: {},
      // code: {},
      tin: {},
      phone: {},
      address: { string: '地址' },
      bank: {},
      bank_num: {}
    }
  },

  action_nc_partner: {
    _odoo_model: 'ir.actions',
    name: 'NC客户',
    type: 'ir.actions.act_window',
    res_model: 'fp.nc.ods.customer',
    domain: [],
    context: {},
    views: {
      tree: 'tree_nc_partner',
      form: 'form_nc_partner'
    }
  }
}
